Crate cap_tempfile[][src]

Expand description

Capability-based temporary directories.

Structs

AmbientAuthority

Instances of this AmbientAuthority type serve to indicate that the ambient_authority function has been called, indicating that the user has explicitly opted into using ambient authority.

TempDir

A directory in a filesystem that is automatically deleted when it goes out of scope.

Functions

ambient_authority

Return an AmbientAuthority value, which allows use of functions that include an AmbientAuthority argument.

tempdir

Create a new temporary directory.

tempdir_in

Create a new temporary directory.